import React from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import Layout from '@/views/layout/Index';
import Login from '@/views/Login';
import AuthRouter from '@/views/auth/AuthRouter';

import KanBan2 from "../views/KanBan2";
import KanBan3 from "../views/KanBan3";
import KanBanWorkShop1 from "../views/KanBan/index1";
import KanBanWorkShop2 from "../views/KanBan/index2";
import KanBanWorkShop3 from "../views/KanBan/index3";
import KanBanWorkShop4 from "../views/KanBan/index4";
import KanBanWorkShop5 from "../views/KanBan/index5";

const Router = () => {
	return (
		<HashRouter>
			<Switch>
				<Route path="/KanBan22" component={KanBan2} />
				<Route path="/KanBan33" component={KanBan3} />
				<Route path="/KanBanWorkShop1" component={KanBanWorkShop1} />
				<Route path="/KanBanWorkShop2" component={KanBanWorkShop2} />
				<Route path="/KanBanWorkShop3" component={KanBanWorkShop3} />
				<Route path="/KanBanWorkShop4" component={KanBanWorkShop4} />
				<Route path="/KanBanWorkShop5" component={KanBanWorkShop5} />
				<Route component={Login} exact path="/login" />
				<AuthRouter path="/" component={Layout} />
			</Switch>
		</HashRouter>
	);
};

export default Router;
